var Axios = /** @class */ (function () {
    function Axios(a) {
        this.site = "https://xiaxia.com";
        this.site = a || this.site;
    }
    Axios.prototype.show = function () {
        return "\u5F53\u524D\u7684\u7F51\u7AD9\u662F".concat(this.site);
    };
    return Axios;
}());
// readonly只读，但跟const的区别是readonly可以在类初始化的时候赋值，const不可以
var axios = new Axios("https://hdms.com");
console.log(axios.show());
// 如果site是public，在外部也可以访问
console.log(axios.site);
